git commands

sequenceDiagram
  participant workspace
  participant index
  participant localRepo as Local Repository
  participant remoteRepo as Remote Repository

  remoteRepo->>workspace: git pull
  remoteRepo->>localRepo: git fetch
  workspace->>index: git add
  index->>localRepo: git commit
  localRepo->>remoteRepo: git push
  workspace->>index: git diff
  workspace->>localRepo: git diff HEAD